<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'verticalForm',
    'htmlOptions' => array('class' => 'well'),
        ));
?>
 
<?php echo $form->textFieldRow($model, 'user_id', array('class' => 'span3')); ?>
<?php echo $form->passwordFieldRow($model, 'bucket', array('class' => 'span3')); ?>
<?php echo $form->dropDownListRow($model, 'bucket', UserUploadFile::getBucketList(), array('prompt' => '--请选择--')); ?>
<?php echo $form->checkboxRow($model, 'file_name'); ?>
<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'label' => 'Login')); ?>

<?php

$this->endWidget();
